﻿
namespace App.Chat.Contract
{
    public static class CommonConst
    {
        /// <summary>
        /// redis存储会议的前缀
        /// </summary>
        public const string SessionPre = "Session";
        /// <summary>
        /// 存储上次登录存储的sessionid
        /// </summary>
        public const string LastToken = "LastToken";
        /// <summary>
        /// 存储当前会议用户的id
        /// </summary>
        public const string CurrentSessionUser = "CurrentSUser";

        public const string LoginTokenMark = "token";
        public const string ContextItemUserKey = "currentUser";
        public const string ConnectionIdPre = "connid";
        public const string DisConnIdMark = "disconnid";


        //远程触发事件名
        public const string UnReadCountUpdateTipEvent = "UnReadCountUpdateTipEvent";
        public const string UpdateSessionListEvent = "UpdateSessionListEvent";
    }
}
